close all;
clear all;
clc;

Nx=10;
Ny=10;
A=zeros(Nx,Ny);

nx1=3;
nx2=6;
ny1=4;
ny2=8;
A(nx1:nx2,ny1:ny2)=1;
A'

